package com.example.defineview;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;

import com.example.defineview.customview.InputNumberView;

public class MainActivity extends AppCompatActivity implements InputNumberView.OnNumberValueChangeListener {

    private InputNumberView viewById;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        viewById = findViewById(R.id.input_view);
        viewById.setOnNumberValueChangeListener(this);

    }

    @Override
    public void onNumberChange(int value) {
        
    }
}